iterator$521004$ - определение. Что такое iterator$521004$
Diclib.com
Словарь ChatGPT
Введите слово или словосочетание на любом языке 👆
Язык:

Перевод и анализ слов искусственным интеллектом ChatGPT

На этой странице Вы можете получить подробный анализ слова или словосочетания, произведенный с помощью лучшей на сегодняшний день технологии искусственного интеллекта:

  • как употребляется слово
  • частота употребления
  • используется оно чаще в устной или письменной речи
  • варианты перевода слова
  • примеры употребления (несколько фраз с переводом)
  • этимология

Что (кто) такое iterator$521004$ - определение

OBJECT-ORIENTED DESIGN PATTERN USING AN ITERATOR TO TRAVERSE A CONTAINER AND ACCESS THE CONTAINER'S ELEMENTS
Iterator Pattern; Cursor pattern

iterator         
IN COMPUTING, AN OBJECT WHOSE METHODS ENABLES A PROGRAM TO ORDERLY TRAVERSE ELEMENTS HAVING SOME LOGICAL CONDITIONS IN A GIVEN CONTAINER FROM A GIVEN FIRST ELEMENT
Iterators; IteratorAggregate; Iterator (C++); IEnumerable; External iterator; Internal iterators; Comparison of programming languages (iterators)
<programming> An object or routine for accessing items from a list, array or stream one at a time. By extension, the term can be used for an object or routine for accesing items from any data structure that can be viewed as a list. For example, a traverser is an iterator for tree-shaped data structures. (2001-10-04)
Iterator         
IN COMPUTING, AN OBJECT WHOSE METHODS ENABLES A PROGRAM TO ORDERLY TRAVERSE ELEMENTS HAVING SOME LOGICAL CONDITIONS IN A GIVEN CONTAINER FROM A GIVEN FIRST ELEMENT
Iterators; IteratorAggregate; Iterator (C++); IEnumerable; External iterator; Internal iterators; Comparison of programming languages (iterators)
In computer programming, an iterator is an object that enables a programmer to traverse a container, particularly lists. Various types of iterators are often provided via a container's interface.
Iterator pattern         
In object-oriented programming, the iterator pattern is a design pattern in which an iterator is used to traverse a container and access the container's elements. The iterator pattern decouples algorithms from containers; in some cases, algorithms are necessarily container-specific and thus cannot be decoupled.

Википедия

Iterator pattern

In object-oriented programming, the iterator pattern is a design pattern in which an iterator is used to traverse a container and access the container's elements. The iterator pattern decouples algorithms from containers; in some cases, algorithms are necessarily container-specific and thus cannot be decoupled.

For example, the hypothetical algorithm SearchForElement can be implemented generally using a specified type of iterator rather than implementing it as a container-specific algorithm. This allows SearchForElement to be used on any container that supports the required type of iterator.